package com.maxlen.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maxlen.admin.entity.Role;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2022-10-11
 */
public interface RoleMapper extends BaseMapper<Role> {
    List<String> findRoleNameByPermissionId(Long id);

    List<String> findRoleNameByAdminId(Long id);

    List<Role> findListByAdminId(Long id);
}
